package com.fanshuai.mybatis_plus.repository;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fanshuai.mybatis_plus.domain.User;

import java.util.List;

public interface UserRepository {
    void insert(User user);
    void update(User user);

    void delete(long uid);
    User query(long uid);
    List<User> queryAll();
    Page<User> queryPage(int page, int size);
}
